<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>个人博客-注册成功</title>
    <link rel="icon" href="images/icon.icon" />
    <style>
      * {
        box-sizing: border-box;
      }
      .box {
        width: 600px;
        height: 400px;
        margin: 100px auto;
        padding: 100px;
        text-align: center;
        background-color: rgb(255, 255, 255);
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
      }
      span {
        color: rgb(189, 189, 189);
      }
    </style>
  </head>
  <body>
    <div class="box">
      <h2>注册成功</h2>
      <p>欢迎你!</p>
      <span>页面将在5秒后返回首页</span>
    </div>
  <script>
      var ad = document.querySelector('.box');
      setTimeout(function() {
          location.href = 'index.html';
      }, 5000);
      
  </script>
  </body>
</html>
